package store.lunangangster.engine.impl.db;

import store.lunangangster.engine.impl.IdGenerator;

public class DbIdGenerator implements IdGenerator {

  private final Snowflake snowflake = new Snowflake(23, 17);

  @Override
  public String nextId() {
    // return UUID.randomUUID().toString();
    return String.valueOf(snowflake.nextId());
  }
}
